#ifndef STANDARDAGENTFACTORY_H
#define STANDARDAGENTFACTORY_H

#include "agentfactory.h"

namespace Wishmaster {

class StandardAgentFactory : public AgentFactory
{
public:
	StandardAgentFactory();
	virtual void loadPlugins();
	virtual ChanAgent* makeAgent(const QString& id, const QString& host);
	virtual QStringList agentList();

private:
	bool agentLoaded(const QString& id);
	bool loadPluginsFromDirectory(const QString& dir);
	QList<ChanAgent*> m_agents;
};

} // namespace Wishmaster

#endif // STANDARDAGENTFACTORY_H
